var ioc = {
	dataSource : {
		type : "org.apache.commons.dbcp.BasicDataSource",
		events : {
			depose : 'close'
		},
		fields : {
			driverClassName : 'com.mysql.jdbc.Driver',
			url : 'jdbc:mysql://localhost:3306/webblog?userUnicode=true&characterEncoding=utf-8',
			username : 'root',
			password : '123'
		}
	},
	fileSqlManager:{
        type:"org.nutz.dao.impl.FileSqlManager",
        args:["cn/com/wblog/resources/sql-command.sql"]
    },
	dao : {
		type : "org.nutz.dao.impl.NutDao",
		args : [ {
			refer : "dataSource"
		}, {
			refer : "fileSqlManager"
		} ]
	},
	userDao : {
		type : "cn.com.wblog.dao.UserDao",
		args : [ {
			refer : "dao"
		} ]
	},
	articleTypeDao : {
		type : "cn.com.wblog.dao.ArticleTypeDao",
		args : [ {
			refer : "dao"
		} ]
	},
	articleDao : {
		type : "cn.com.wblog.dao.ArticleDao",
		args : [ {
			refer : "dao"
		} ]
	},
	pictureTypeDao : {
		type : "cn.com.wblog.dao.PictureTypeDao",
		args : [ {
			refer : "dao"
		} ]
	}
};